package com.market.goods.dao.mongo;

import lombok.Data;
import lombok.ToString;
import org.springframework.data.mongodb.core.mapping.Document;

import javax.persistence.Column;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;


/**
 * 活动参与商品
 */
@ToString
@Data
@Document(collection="activityRule")
public class ActivitySku implements Serializable {
    /**
     * 主键Id
     */
    private Long id;

    /**
     * 活动id
     */
    private Long activityId;

    /**
     * sku_id
     */
    private Long skuId;

    /**
     * 创建时间
     */
    private Date createTime;
}